home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Cosmo Software 1997 May
/
SGI Cosmo Software 1997 May.iso
/
docs6.2
/
relnotes
/
license_eoe
/
ch3.z
/
ch3
Wrap
Text File
|
1997-05-23
|
11KB
|
265 lines
- 1 -
3. _F_L_E_X_l_m__L_i_c_e_n_s_i_n_g
FLEXlm is the most widely used licensing software used in
the software industry. FLEXlm supports node-locked
licenses, which are licenses which allow an application to
run on a specific host. No additional software or processes
other than the application are required for using node-
locked licensing.
FLEXlm also supports floating (network) licensing, which
allows software licenses to be available (or float) anywhere
on a network, instead of being tied to specific machines.
Floating licensing benefits both users and license
administrators. Users can make more efficient use of fewer
licenses by sharing them on the network. License
administrators can control who uses the licensed
application, and the node(s) where the licenses will be
available. See the _F_L_E_X_l_m _E_n_d _U_s_e_r _M_a_n_u_a_l (in the
_l_i_c_e_n_s_e__e_o_e._b_o_o_k_s._F_L_E_X_l_m__E_U_M subsystem) for more details
about the different licensing models supported by FLEXlm.
3.1 _F_L_E_X_l_m__L_i_c_e_n_s_i_n_g__S_u_b_s_y_s_t_e_m_s
The FLEXlm licensing software is divided into a number of
subsystems. You may need to install different subsystems
depending on your FLEXlm licensing needs.
If you are using a product which uses only FLEXlm node-
locked software licensing (each license is specific to one
node, or system), you only need to install license_eoe
subsystems that are installed by default.
If you are using a product which uses FLEXlm floating
licensing, you will need to install the FLEXlm 5.11 Server
Software (_l_i_c_e_n_s_e__e_o_e._s_w._f_l_e_x_l_m__s_e_r_v_e_r) subsystem on the
licensing server. Note that this subsystem does not need to
be installed on systems that are only licensing clients.
This subsystem is not installed by default, and will have to
be explicitly selected for installation in Software Manager.
3.2 _S_G_I__F_L_E_X_l_m__L_i_c_e_n_s_e__F_i_l_e__C_o_n_v_e_n_t_i_o_n_s
Silicon Graphics has specified a set of conventions for
managing your FLEXlm license files. You may choose not to
follow these conventions, but the 2License Manager tool and
the license server startup script /_e_t_c/_i_n_i_t._d/_f_l_e_x_l_m have
been designed to conform to the following rules.
- 2 -
1. FLEXlm node-locked licenses are always kept in the
file /_v_a_r/_f_l_e_x_l_m/_l_i_c_e_n_s_e._d_a_t on the node-locked host.
2. FLEXlm floating licenses generated for the license
server <<<<hhhhoooossssttttnnnnaaaammmmeeee>>>> are always kept in the file
/var/flexlm/license_<<<<hhhhoooossssttttnnnnaaaammmmeeee>>>>.dat on both the license
server and on client hosts.
_N_O_T_E: In order for a client system to use the licenses
on a license server, a current copy of the license
server's license file must be kept on the client
system.
3.3 _L_i_c_e_n_s_e__F_i_l_e__D_a_t_a_b_a_s_e
Applications that are licensed with FLEXlm libraries from
Silicon Graphics, which are distributed in the _l_i_c_e_n_s_e__d_e_v
product, have an enhanced license file search capability.
Applications licensed with the FLEXlm libraries from
Globetrotter software will search for a license at the
default location, /_u_s_r/_l_o_c_a_l/_f_l_e_x_l_m/_l_i_c_e_n_s_e_s/_l_i_c_e_n_s_e._d_a_t,
unless the environment variable LM_LICENSE_FILE is set.
For applications licensed with the SGI version of the FLEXlm
libraries, if the environment variable LM_LICENSE_FILE is
not set, the _L_i_c_e_n_s_e _F_i_l_e _D_a_t_a_b_a_s_e is used to determine the
locations of all known license files, and the search for a
license will be conducted on these files. This database is
stored in the file /_v_a_r/_f_l_e_x_l_m/_l_i_c_e_n_s_e_f_i_l_e._d_b.
Each entry in _l_i_c_e_n_s_e_f_i_l_e._d_b specifies either a license
file, or a directory which directly or indirectly contains a
license file. For more information on its use and syntax,
please refer to the manual page for _L_i_c_e_n_s_e_M_a_n_a_g_e_r(_1_M).
3.4 _W_e_b__L_i_c_e_n_s_e__R_e_q_u_e_s_t__a_n_d__A_u_t_o_m_a_t_i_c__L_i_c_e_n_s_e__I_n_s_t_a_l_l_a_t_i_o_n
The Silicon Graphics Software Licensing Page on the World
Wide Web supports license request and automatic installation
using your web browser. Please refer to the Silicon Surf
Software Licensing Page at
_h_t_t_p://_w_w_w._s_g_i._c_o_m/_P_r_o_d_u_c_t_s/_l_i_c_e_n_s_e._h_t_m_l for more
information.
- 3 -
3.5 _I_n_s_t_a_l_l_i_n_g__F_L_E_X_l_m__N_o_d_e_-_l_o_c_k_e_d__L_i_c_e_n_s_e_s
A FLEXlm node-locked license can be installed by using
License Manager, or by directly entering it into the file
/var/flexlm/license.dat using a text editor. Once
installed, it will be immediately available for use by an
application.
3.6 _I_n_s_t_a_l_l_i_n_g__F_L_E_X_l_m__F_l_o_a_t_i_n_g__L_i_c_e_n_s_e_s
A FLEXlm floating license can be installed by using License
Manager, or by directly entering it into the floating
license file /var/flexlm/license_<<<<hhhhoooossssttttnnnnaaaammmmeeee>>>>.dat, where
<<<<hhhhoooossssttttnnnnaaaammmmeeee>>>> is the name of the license server host.
Newly installed FLEXlm floating licenses are not available
for use unless the licensing daemon _l_m_g_r_d(_1_M) is running,
and the new contents of the license file has been read.
If the FLEXlm floating license was installed using License
Manager, release 3.2 or higher, License Manager will
automatically start the licensing daemon if it is not
already running, and have it read the license file with the
new floating licenses.
If the license was installed manually, this license will not
be available for use until the license daemon is properly
configured and started as documented in the following
section.
3.7 _I_n_s_t_a_l_l_i_n_g _L_i_c_e_n_s_e_s _a_n_d _C_o_n_f_i_g_u_r_i_n_g _t_h_e _L_i_c_e_n_s_e _S_e_r_v_e_r
_M_a_n_u_a_l_l_y
To install a FLEXlm floating license and configure the
license server startup script without using License Manager,
the following steps should be used. If you are just
restarting the license server after installing a new license
file, go to step 6.
1. Open a shell window by choosing "Unix Shell" from the
Desktop toolchest.
2. Log in as root by typing "su" at the shell prompt.
Type in the root password if you have one.
3. Create the server license file. Create a new license
file in "/_v_a_r/_f_l_e_x_l_m/" and use a text editor (e.g.,
_j_o_t) to add the network licenses to that file.
- 4 -
Your server license file should include the name of
the server machine in the name of the file. For
example, if your server machine is named "control",
you should create a license file with the name
"/_v_a_r/_f_l_e_x_l_m/_l_i_c_e_n_s_e__c_o_n_t_r_o_l._d_a_t".
Using the server machine name in the name of the
license file allows the license file to be copied to
all client machines without overwriting other license
files on those machines.
4. Configure the FLEXlm Network License Server daemon to
use the new license file. Edit the configuration file
"/_e_t_c/_c_o_n_f_i_g/_l_m_g_r_d._o_p_t_i_o_n_s", using a text editor (such
as _j_o_t). Change the configuration file to indicate
the name of your new license file. For example, if
your new license file is named
"/_v_a_r/_f_l_e_x_l_m/_l_i_c_e_n_s_e__c_o_n_t_r_o_l._d_a_t", edit
"/_e_t_c/_c_o_n_f_i_g/_l_m_g_r_d._o_p_t_i_o_n_s" to contain the following:
----cccc ////vvvvaaaarrrr////fffflllleeeexxxxllllmmmm////lllliiiicccceeeennnnsssseeee____ccccoooonnnnttttrrrroooollll....ddddaaaatttt
5. Type "chkconfig flexlm on".
6. Restart the Server. To stop the server, use the
following command:
////eeeettttcccc////iiiinnnniiiitttt....dddd////fffflllleeeexxxxllllmmmm ssssttttoooopppp
To restart the server, or to start it for the first
time, use the following command:
////eeeettttcccc////iiiinnnniiiitttt....dddd////fffflllleeeexxxxllllmmmm ssssttttaaaarrrrtttt
7. If you still have problems running applications which
use FLEXlm network licensing, you can configure the
FLEXlm Network License Server daemon to write output
to a log file. The contents of the log file may
enable you to determine the cause of the problem.
Edit the configuration file
"/_e_t_c/_c_o_n_f_i_g/_l_m_g_r_d._o_p_t_i_o_n_s" to contain the following:
----cccc ////vvvvaaaarrrr////fffflllleeeexxxxllllmmmm////lllliiiicccceeeennnnsssseeee____ccccoooonnnnttttrrrroooollll....ddddaaaatttt ----llll ////vvvvaaaarrrr////aaaaddddmmmm////fffflllleeeexxxxllllmmmm....lllloooogggg
Restart the server (as above). You will be able to
monitor the behavior of the server by looking at the
file "/_v_a_r/_a_d_m/_f_l_e_x_l_m._l_o_g".